IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > ClientCanQueryAttribute Class > ClientCanQueryAttribute Constructor : ClientCanQueryAttribute Constructor(AuthorizeRolesMode,String[]) |
'Declaration
Public Function New( _ ByVal mode As AuthorizeRolesMode, _ ByVal ParamArray roles() As String _ )
'Usage
Dim mode As AuthorizeRolesMode Dim roles() As String Dim instance As New ClientCanQueryAttribute(mode, roles)
public ClientCanQueryAttribute( AuthorizeRolesMode mode, params string[] roles )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2